-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add xapi transformer for completion events #339
Conversation
Thanks for the pull request, @Ian2012! Please note that it may take us up to several weeks or months to complete a review and merge your PR. Feel free to add as much of the following information to the ticket as you can:
All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here. Please let us know once your PR is ready for our review and all tests are green. |
1425d0d
to
e32174e
Compare
0fcec6a
to
9ae82a6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"definition": { | ||
"type": "http://id.tincanapi.com/activitytype/resource", | ||
"extensions": { "https://w3id.org/xapi/cmi5/result/extensions/progress": 100.0 } | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
definition of object should be like below and progress should be under result
"object": {
"id": "http://localhost:18000/xblock/block-v1:edX+DemoX+Demo_Course+type@problem+block@7c54b16c8ed34f9f8772015178c7a175",
"objectType": "Activity",
"definition": {
"type": "http://id.tincanapi.com/activitytype/resource"
}
},
"result": {
"extensions": {
"https://w3id.org/xapi/cmi5/result/extensions/progress": 100.0
}
},
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, I've updated the statement cc @bmtcril
e2e93b2
to
dea7fe4
Compare
@Ian2012 could you please update the documentation files to include new events? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@Ian2012 should be good to go if you squash and bump the version |
I will, remember that this event is not approved yet in openedx/completion#245 |
b1a0a24
to
3dd5b82
Compare
ee6aecf
to
8f03d76
Compare
8f03d76
to
c66af5c
Compare
test: add fixtures for completion events fix: use result to store completion status docs: add documentation for block completion events
c66af5c
to
603f37e
Compare
@Ian2012 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |
Description: Adds an xAPI transformer for completion events
JIRA: Link to JIRA ticket
Dependencies: openedx/completion#245
Merge deadline: List merge deadline (if any)
Installation instructions: List any non-trivial installation
instructions.
Testing instructions:
Merge checklist:
Post merge:
finished.
Author concerns: List any concerns about this PR - inelegant
solutions, hacks, quick-and-dirty implementations, concerns about
migrations, etc.